package com.lxm.ymcc.feginClient;

import com.lxm.ymcc.result.JSONResult;
import org.springframework.stereotype.Component;

@Component
public class CourseControllerFallBack implements CourserFileFeign {
    @Override
    public JSONResult courseStateById(Long id) {
        return JSONResult.error("服务异常");
    }

    @Override
    public JSONResult courseInfo(String id) {
        return JSONResult.error("课程服务异常");
    }
}
